import React, { Component } from 'react';
import { withRouter } from "react-router-dom";
import "./SearchInput.scss"
class SearchInput extends Component {
    // 点击搜索
    handelClickSearch = (params) => {
        this.props.history.push("/search");
    }
    render() {
        return (
            <div className="wx-search-input">
                <div className="search-input-content" onClick={this.handelClickSearch}>
                    搜索
                </div>
            </div>
        );
    }
}

export default withRouter(SearchInput);
